import i18n from '@/i18n'
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger'

export class MetaPlatform {
  static ApiPropertyEnum = {}

  @ApiProperty({ description: 'ID', type: Number })
  id: number

  @ApiProperty({ description: i18n.t('app-meta.model.meta-platform.1215078-0'), type: String })
  platform: string

  @ApiProperty({ description: i18n.t('app-meta.model.meta-platform.1215078-1'), type: String })
  label: string

  @ApiProperty({ description: i18n.t('app-meta.model.meta-platform.1215078-2'), type: Date })
  createTime: Date

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-platform.1215078-3'), type: String })
  domainUrl?: string

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-platform.1215078-4'), type: String })
  resourceChartUrl?: string

  @ApiPropertyOptional({ description: i18n.t('model.meta-platform.080168-0'), type: String })
  resourceHistoryChartUrl?: string

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-platform.1215078-5'), type: String })
  resourceModuleActionUrl?: string

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-platform.1215078-6'), type: String })
  getRealtimeDataUrl?: string

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-platform.1215078-7'), type: String })
  authUrl?: string

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-platform.1215078-8'), type: String })
  wsAuthUrl?: string

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-platform.1215078-9'), type: String })
  sendCommandUrl?: string

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-platform.1215078-10'), type: String })
  getBindDataSourceUrl?: string

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-platform.1215078-11'), type: String })
  getBindDataSourceTypeUrl?: string

  @ApiPropertyOptional({ description: i18n.t('app-meta.model.meta-platform.1215078-12'), type: String })
  verifyControlPasswordUrl?: string
}
